@layout("/common/_form.html",{js:["/assets/common/js/reviseSform.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="userForm" lay-filter="userForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">

        <div class="layui-card">
            <div class="layui-card-header">修改日程信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="sformId" type="hidden" value="${sformId}"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">日程名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="sformName" placeholder="请输入您要修改的日程名称" type="text" value="${sformName}" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">是否分享</label>
                        <div class="layui-input-inline">
                            <input type="checkbox" name="isShare" lay-skin="switch" ${isShare=='on'?'checked':''}  lay-filter="shareSwitch" lay-text="ON|OFF">
                        </div>

                        <label class="layui-form-label">是否为草稿</label>
                        <div class="layui-input-inline">
                            <input type="checkbox" name="draft"  ${draft=='on'?'checked':''} lay-skin="switch" lay-filter="shareSwitch" lay-text="ON|OFF" />
                        </div>
                    </div>


                </div>
            </div>
        </div>



        <div class="form-group-bottom text-center">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;保存修改&emsp;</button>
            <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
        </div>
    </div>
</form>

@}
